package com.harveyguo.nihonngo.model.mapper;


import com.harveyguo.nihonngo.model.dto.CourseCreateDto;
import com.harveyguo.nihonngo.model.dto.CourseDto;
import com.harveyguo.nihonngo.model.entity.Course;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

@Mapper(componentModel = "spring")
@Component
public interface CourseMapper {
    CourseDto toDto(Course user);
//    UserVo toVo(UserDto userDto);

    Course CreateCourse(CourseCreateDto courseCreateDto);


}
